home *** CD-ROM | disk | FTP | other *** search
- function freshMe()
- {
- delete this.arm1.onEnterFrame;
- delete this.arm0.onEnterFrame;
- if(_root.projtype == 1)
- {
- this.arm0._visible = false;
- this.arm1.outline._visible = false;
- this.arm1.col._visible = false;
- this.zook._visible = true;
- this.zook.onEnterFrame = function()
- {
- this._rotation = this._parent._parent._parent.aimer._rotation;
- };
- }
- else
- {
- this.arm0._visible = true;
- this.arm1.outline._visible = true;
- this.arm1.col._visible = true;
- this.zook._visible = false;
- this.arm0.onEnterFrame = function()
- {
- this._rotation = this._parent._parent._parent.aimer._rotation;
- };
- if(_root.projtype == 0)
- {
- this.arm0.weaps.w0._visible = true;
- this.arm0.weaps.w1._visible = false;
- }
- if(_root.projtype == 3)
- {
- this.arm0.weaps.w1._visible = true;
- this.arm0.weaps.w0._visible = false;
- }
- }
- this.arm1.onEnterFrame = function()
- {
- this._rotation = this._parent._parent._parent.aimer._rotation;
- };
- }
- freshMe();
-